a=9
for a in range(1,10):
    b=9
    while b>=a:
        c=a*b
        print(a,'x',b,'=',c,end='\t')
        b-=1
    print('')
    a-=1


